package com.itwn.portal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.itwn.portal.mapper")
@EnableTransactionManagement
@EnableCaching
public class PortalApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(PortalApplication.class, args);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
